package com.zecan.springcloud.controller;

import com.zecan.springcloud.service.StreamProviderServer;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @ClassName StreamProviderController
 * @Description TODO
 * @date 2022/5/10 10:04
 * @Version 1.0
 */
@RestController
public class StreamProviderController {




    @Resource
    private StreamProviderServer server;

    @GetMapping("/send")
    public void sendMsg() {
        server.send();
    }
}
